import request from "@/utils/request";

//重点企业列表
export function listCompanyWork(data) {
    return request({
        url: "/bigScreen-keyEnterprise/getPage",
        method: "post",
        data,
    });
}
// 重点企业  核酸检测率排行
export function detectRatioRank(data) {
    return request({
        url: "/bigScreen-keyEnterprise/detectRatioRank",
        method: "post",
        data,
    });
}
// 重点企业详情
export function getIndustryGridDetail(params) {
    return request({
        url: "/bigScreen-keyEnterprise/getIndustryGridDetail/" + params.id,
        method: "get",
        params: params,
    });
}
//重点企业员工信息
export function getIndustryGridPeople(data) {
    return request({
        url: "/bigScreen-keyEnterprise/getIndustryGridPeople",
        method: "post",
        data,
    });
}
//重点企业检测信息
export function getDetectInfo(params) {
    return request({
        url: "/bigScreen-keyEnterprise/getDetectInfo",
        method: "get",
        params: params,
    });
}
//重点企业对比名单
export function getCompareResultPage(data) {
    return request({
        url: "/bigScreen-keyEnterprise/getCompareResultPage",
        method: "post",
        data,
    });
}

//重点企业 人员人数
export function getPeopleNum(params) {
    return request({
        url: "/bigScreen-keyEnterprise/getPeopleNum/" + params.id,
        method: "get",
        params: params,
    });
}
